package com.qf.boot.service.api;

import java.util.concurrent.CompletableFuture;

public interface SiteService {
    String getName(String name);

    //回调方法
    default String siteName(String name,String key,SiteServiceListener siteServiceListener){
        return null;
    }
    //异步调用方法
    default CompletableFuture<String> siteNameAsync(String name){
        return null;
    }

}
